<?php
	include_once('_head.php');
	$arrData = $_SESSION['sitedata'];
	$arrResult = array();
	$ptitle = $_POST['ptitle'];
	$pcontent = $_POST['pcontent'];
	foreach($arrData as $dataHandle){
		$result = doPost4rum($dataHandle,$ptitle,$pcontent);
		array_push($arrResult,array($dataHandle['base_url'],$result));
	}
	echo "<pre>";
	print_r($arrResult);
	echo "</pre>";
?>